object FormComissao: TFormComissao
  Left = 0
  Top = 0
  BorderStyle = bsSingle
  Caption = 'Consulta de comiss'#227'o de vendedores'
  ClientHeight = 472
  ClientWidth = 694
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  OldCreateOrder = False
  Position = poDesktopCenter
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  object pnlParametros: TPanel
    Left = 0
    Top = 0
    Width = 694
    Height = 95
    Align = alTop
    TabOrder = 0
    object lblVendor: TLabel
      Left = 15
      Top = 10
      Width = 46
      Height = 13
      Caption = 'Vendedor'
    end
    object edtVendedor: TDBLookupComboBox
      Left = 15
      Top = 25
      Width = 440
      Height = 21
      DataField = 'Vendedor_Id'
      KeyField = 'Id'
      ListField = 'NomeUsual'
      ListSource = dtsVendedor
      TabOrder = 0
    end
    object edtDataRegistroInicial: TLabeledEdit
      Left = 470
      Top = 25
      Width = 100
      Height = 21
      EditLabel.Width = 91
      EditLabel.Height = 13
      EditLabel.Caption = 'DataRegistro inicial'
      TabOrder = 1
    end
    object edtDataRegistroFinal: TLabeledEdit
      Left = 581
      Top = 25
      Width = 100
      Height = 21
      EditLabel.Width = 86
      EditLabel.Height = 13
      EditLabel.Caption = 'DataRegistro final'
      TabOrder = 2
    end
    object btnProdutoAdicionar: TBitBtn
      Left = 601
      Top = 58
      Width = 80
      Height = 25
      Caption = 'Consultar'
      Glyph.Data = {
        36050000424D3605000000000000360400002800000010000000100000000100
        08000000000000010000C40E0000C40E00000001000000000000000000000000
        80000080000000808000800000008000800080800000C0C0C000C0DCC000F0CA
        A6000020400000206000002080000020A0000020C0000020E000004000000040
        20000040400000406000004080000040A0000040C0000040E000006000000060
        20000060400000606000006080000060A0000060C0000060E000008000000080
        20000080400000806000008080000080A0000080C0000080E00000A0000000A0
        200000A0400000A0600000A0800000A0A00000A0C00000A0E00000C0000000C0
        200000C0400000C0600000C0800000C0A00000C0C00000C0E00000E0000000E0
        200000E0400000E0600000E0800000E0A00000E0C00000E0E000400000004000
        20004000400040006000400080004000A0004000C0004000E000402000004020
        20004020400040206000402080004020A0004020C0004020E000404000004040
        20004040400040406000404080004040A0004040C0004040E000406000004060
        20004060400040606000406080004060A0004060C0004060E000408000004080
        20004080400040806000408080004080A0004080C0004080E00040A0000040A0
        200040A0400040A0600040A0800040A0A00040A0C00040A0E00040C0000040C0
        200040C0400040C0600040C0800040C0A00040C0C00040C0E00040E0000040E0
        200040E0400040E0600040E0800040E0A00040E0C00040E0E000800000008000
        20008000400080006000800080008000A0008000C0008000E000802000008020
        20008020400080206000802080008020A0008020C0008020E000804000008040
        20008040400080406000804080008040A0008040C0008040E000806000008060
        20008060400080606000806080008060A0008060C0008060E000808000008080
        20008080400080806000808080008080A0008080C0008080E00080A0000080A0
        200080A0400080A0600080A0800080A0A00080A0C00080A0E00080C0000080C0
        200080C0400080C0600080C0800080C0A00080C0C00080C0E00080E0000080E0
        200080E0400080E0600080E0800080E0A00080E0C00080E0E000C0000000C000
        2000C0004000C0006000C0008000C000A000C000C000C000E000C0200000C020
        2000C0204000C0206000C0208000C020A000C020C000C020E000C0400000C040
        2000C0404000C0406000C0408000C040A000C040C000C040E000C0600000C060
        2000C0604000C0606000C0608000C060A000C060C000C060E000C0800000C080
        2000C0804000C0806000C0808000C080A000C080C000C080E000C0A00000C0A0
        2000C0A04000C0A06000C0A08000C0A0A000C0A0C000C0A0E000C0C00000C0C0
        2000C0C04000C0C06000C0C08000C0C0A000F0FBFF00A4A0A000808080000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00FFFFFFFFFFFF
        FFFFFFFFFFFFFF074907FFFFFFFFFFFFFFFFFFFFFFFF07499B5BFFFFFFFFFFFF
        FFFFFFFFFF07499B9B07FFFFFFFFFFFFFFFFFFFF08499BA407FFFFFFFFFFFFFF
        FFFFFF08499BA408FFFFFFFFFFFFFFFFFFFFF6499BA408FFFFFFFFFFFFFFFFFF
        FFFFF75BA308FFFFFFFFFFFFF7F7F7F70708FF07F6FFFFFFFFFFFFA408FFFFF6
        07F7F6FFFFFFFFFFFFFFF7F6FFFFFFFFF60707FFFFFFFFFFFFFFF7FFFFFFFFFF
        FFF6EDFFFFFFFFFFFFFFF5FFFFFFFFFFFFF607FFFFFFFFFFFFFFF7FFFFFFFFFF
        FFF607FFFFFFFFFFFFFF07F6FFFFFFFFFFF608FFFFFFFFFFFFFFFFEDF6FFFFFF
        F607FFFFFFFFFFFFFFFFFFFF0707070708FFFFFFFFFFFFFFFFFF}
      TabOrder = 3
      OnClick = btnProdutoAdicionarClick
    end
  end
  object DBGrid1: TDBGrid
    Left = 0
    Top = 95
    Width = 694
    Height = 317
    Align = alClient
    DataSource = dtsConsulta
    TabOrder = 1
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'Tahoma'
    TitleFont.Style = []
  end
  object pnlTotal: TPanel
    Left = 0
    Top = 412
    Width = 694
    Height = 60
    Align = alBottom
    TabOrder = 2
    ExplicitTop = 402
    object edtTotalPedido: TLabeledEdit
      Left = 40
      Top = 25
      Width = 120
      Height = 21
      EditLabel.Width = 76
      EditLabel.Height = 13
      EditLabel.Caption = 'Total pedidos'
      EditLabel.Font.Charset = DEFAULT_CHARSET
      EditLabel.Font.Color = clWindowText
      EditLabel.Font.Height = -11
      EditLabel.Font.Name = 'Tahoma'
      EditLabel.Font.Style = [fsBold]
      EditLabel.ParentFont = False
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -11
      Font.Name = 'Tahoma'
      Font.Style = [fsBold]
      ParentFont = False
      ReadOnly = True
      TabOrder = 0
    end
    object edtTotalComissaoPercentual: TLabeledEdit
      Left = 170
      Top = 25
      Width = 120
      Height = 21
      EditLabel.Width = 111
      EditLabel.Height = 13
      EditLabel.Caption = 'Total comiss'#227'o (%)'
      EditLabel.Font.Charset = DEFAULT_CHARSET
      EditLabel.Font.Color = clWindowText
      EditLabel.Font.Height = -11
      EditLabel.Font.Name = 'Tahoma'
      EditLabel.Font.Style = [fsBold]
      EditLabel.ParentFont = False
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -11
      Font.Name = 'Tahoma'
      Font.Style = [fsBold]
      ParentFont = False
      ReadOnly = True
      TabOrder = 1
    end
    object edtTotalComissaoValor: TLabeledEdit
      Left = 300
      Top = 25
      Width = 120
      Height = 21
      EditLabel.Width = 113
      EditLabel.Height = 13
      EditLabel.Caption = 'Total comiss'#227'o (R$)'
      EditLabel.Font.Charset = DEFAULT_CHARSET
      EditLabel.Font.Color = clWindowText
      EditLabel.Font.Height = -11
      EditLabel.Font.Name = 'Tahoma'
      EditLabel.Font.Style = [fsBold]
      EditLabel.ParentFont = False
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -11
      Font.Name = 'Tahoma'
      Font.Style = [fsBold]
      ParentFont = False
      ReadOnly = True
      TabOrder = 2
    end
    object edtSaldo: TLabeledEdit
      Left = 560
      Top = 25
      Width = 120
      Height = 21
      EditLabel.Width = 31
      EditLabel.Height = 13
      EditLabel.Caption = 'Saldo'
      EditLabel.Font.Charset = DEFAULT_CHARSET
      EditLabel.Font.Color = clWindowText
      EditLabel.Font.Height = -11
      EditLabel.Font.Name = 'Tahoma'
      EditLabel.Font.Style = [fsBold]
      EditLabel.ParentFont = False
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -11
      Font.Name = 'Tahoma'
      Font.Style = [fsBold]
      ParentFont = False
      ReadOnly = True
      TabOrder = 3
    end
    object edtAcerto: TLabeledEdit
      Left = 430
      Top = 25
      Width = 120
      Height = 21
      EditLabel.Width = 38
      EditLabel.Height = 13
      EditLabel.Caption = 'Acerto'
      EditLabel.Font.Charset = DEFAULT_CHARSET
      EditLabel.Font.Color = clWindowText
      EditLabel.Font.Height = -11
      EditLabel.Font.Name = 'Tahoma'
      EditLabel.Font.Style = [fsBold]
      EditLabel.ParentFont = False
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -11
      Font.Name = 'Tahoma'
      Font.Style = [fsBold]
      ParentFont = False
      ReadOnly = True
      TabOrder = 4
    end
  end
  object QVendedor: TFDQuery
    Connection = DM.FDConexao
    SQL.Strings = (
      'SELECT'
      '  Pessoa.Id,'
      '  Pessoa.NomeUsual'
      'FROM'
      '  Pessoa'
      'WHERE '
      '  Pessoa.Vendedor = "T"'
      'ORDER By '
      '  Pessoa.NomeUsual  ')
    Left = 260
    Top = 5
  end
  object dtsVendedor: TDataSource
    DataSet = QVendedor
    Left = 321
    Top = 5
  end
  object QConsulta: TFDQuery
    AfterOpen = QConsultaAfterOpen
    Connection = DM.FDConexao
    Left = 335
    Top = 235
  end
  object dtsConsulta: TDataSource
    DataSet = QConsulta
    Left = 405
    Top = 235
  end
end
